﻿package com.saint.video.events{
	
	import flash.events.Event;

	public class VideoControlsEvent extends Event {
		
		public static const PLAY:String = "VideoControlsEvent play";
		public static const PAUSE:String = "VideoControlsEvent pause";
		public static const SCRUBSTART:String = "VideoControlsEvent scrubstart";
		public static const SCRUBSTOP:String = "VideoControlsEvent scrubstop";
		public static const SCRUBBING:String = "VideoControlsEvent scrubbing";
		public static const VOLUME_CHANGE:String = "VideoControlsEvent  volumeChange";

				
		public var pos:Number
		
		public function VideoControlsEvent(type:String, pos:Number = 0,   bubbles:Boolean = false, cancelable:Boolean = false)
		{
			super(type, bubbles, cancelable);
			this.pos = pos;
		}

		/**
		 * Returns a String containing all the properties of the current instance.
		 * @return A string representation of the current instance.
		 */
		public override function toString():String {
			return formatToString("VideoEvent", "type", "bubbles", "cancelable", "eventPhase");
		}
	}
}